// 整个卡片可点击
document.querySelectorAll('.platform-card').forEach(card => {
    card.addEventListener('click', function(e) {
        if (e.target.tagName !== 'A' && !e.target.closest('a')) {
            const link = this.querySelector('.visit-btn');
            if (link) {
                window.open(link.href, '_blank');
            }
        }
    });
});
